package wman.patterns.hashmap;

import java.util.HashMap;

/**
 * @ProjectName: wman
 * @Package: wman.patterns.hashmap
 * @ClassName: HashMapTest
 * @Description: java类作用描述
 * @Author: wman
 * @CreateDate: 2020/2/12 11:05
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/2/12 11:05
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class HashMapTest {
    public static void main(String[] args) {
        HashMap map = new HashMap<Integer, String>();
        map.put(1, "Wang");
        map.put(2, "Jian");
        map.put(1, "Jian1");
        System.out.println(map.hashCode());
        System.out.println(map.get(1));
    }
}
